<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/form_builder.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:19 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title> <?php echo $this->tpl_vars["title"]; ?></title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="<?php echo STATIC_DIR; ?>/favicon.ico"> <link href="<?php echo STATIC_DIR; ?>/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="<?php echo STATIC_DIR; ?>/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="<?php echo STATIC_DIR; ?>/css/animate.min.css" rel="stylesheet">
    <link href="<?php echo STATIC_DIR; ?>/css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="<?php echo STATIC_DIR; ?>/css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
    <link href="<?php echo STATIC_DIR; ?>/css/style.min862f.css?v=4.1.0" rel="stylesheet">

    <script src="<?php echo STATIC_DIR; ?>/js/jquery.min.js?v=2.1.4"></script>
    <script src="<?php echo STATIC_DIR; ?>/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="<?php echo STATIC_DIR; ?>/js/content.min.js?v=1.0.0"></script>
    <script src="<?php echo STATIC_DIR; ?>/js/plugins/beautifyhtml/beautifyhtml.js"></script>
    <script src="<?php echo STATIC_DIR; ?>/js/plugins/layer/laydate/laydate.js"></script>
    <script src="<?php echo STATIC_DIR; ?>/js/plugins/validate/jquery.validate.min.js"></script>
    <script src="<?php echo STATIC_DIR; ?>/js/plugins/validate/messages_zh.min.js"></script>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content">

    <div class="row">
        <div class="col-sm-5">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>搜索框</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="alert alert-info">
                        列表记录查询
                    </div>

                    <form role="form" class="form-horizontal m-t" action="index.php?c=api&a=index">

                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">选择查询：</label>
                                <div class="col-sm-9">
                                    <label><input name="type" type="radio" value="paylist" checked="checked" />充值查询 </label>
                                    <label><input name="type" type="radio" value="drawalslist"/>提现查询 </label>
                                    <label><input name="type" type="radio" value="buylist" />买入记录 </label>
                                    <label><input name="type" type="radio" value="selllist" />卖出记录 </label>
                                    <label><input name="type" type="radio" value="inwallet" />转入查询 </label>
                                    <label><input name="type" type="radio" value="outwallet" />转出查询 </label>

                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label">开始时间：</label>
                                <div class="col-sm-9">

                                    <input class="form-control layer-date" name="starttime"  placeholder="YYYY-MM-DD hh:mm:ss" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
                                    <span style="color: red;" class="help-block m-b-none">默认系统初始时间</span>

                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">结束时间：</label>
                                <div class="col-sm-9">
                                    <input class="form-control layer-date" name="endtime"  placeholder="YYYY-MM-DD hh:mm:ss" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
                                    <span style="color: red;" class="help-block m-b-none">默认系统当天时间</span>

                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">用户名：</label>
                                <div class="col-sm-9">
                                    <input type="text" name="username" class="form-control" placeholder="请输入用户名">
                                    <span style="color: red;" class="help-block m-b-none">填写用户名</span>

                                </div>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group draggable">
                            <div class="col-sm-12 col-sm-offset-3">
                                <button id="search" class="btn btn-primary" type="button">查询</button>
                            </div>
                        </div>


                    </form>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>


        <div class="col-sm-7">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div class="row form-body form-horizontal m-t">
                        <div id="show" class="col-md-12 droppable sortable">

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $("#search").click(function(){
        var html = "<div class='ibox-content'><div class='spiner-example'><div class='sk-spinner sk-spinner-three-bounce'><div class='sk-bounce1'></div><div class='sk-bounce2'></div><div class='sk-bounce3'></div></div></div></div>";
        $("#show").html(html);
        var data = $("form").serialize();
        var url = $("form").attr("action");
        setTimeout(function(){
            $.post(url,data,function(e){
                var i = $.parseJSON(e);
                $("#show").html(i);
            });},1000);
    });
</script>
</body>
</html>
